package cn.hubujyjs.lp.service;

import cn.hubujyjs.lp.bo.UpdateUserBo;
import cn.hubujyjs.lp.domain.User;
import cn.hubujyjs.lp.utils.R;
import com.baomidou.mybatisplus.extension.service.IService;

import javax.servlet.http.HttpServletRequest;

/**
* @author admin
* @description 针对表【user】的数据库操作Service
* @createDate 2023-05-15 18:24:28
*/
public interface UserService extends IService<User> {

    R<String> login(String email, String verificationCode);

    R<Object> code(String email);

    R<User> info();

    R<Object> updateUser(UpdateUserBo updateUserBo);

    R<Object> logout(HttpServletRequest request);
}
